﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HistoryList.aspx.cs" Inherits="CRM.Web.PotentialCustomerCaseManage.HistoryList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/pop.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table border="0" cellpadding="0" cellspacing="0" id="tTitle" style="display: none;">
        <tr>
            <td class="left">
                <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
            </td>
            <td class="middle">
                <div class="pagetitle">
                    <div>
                        <asp:Label ID="lblTitle" runat="server" Text="潜在客户回访历史"></asp:Label></div>
                </div>
            </td>
            <td class="right">
                <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
            </td>
        </tr>
    </table>
    <div id="divMain">
        <div style="width: 100%">
            <div class="listdiv">                
                <dp:WebGridView ID="gvList" runat="server" CssClass="gridview" AutoGenerateColumns="False"
                    OnRowCreated="gvList_RowCreated" OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting"
                    AllowPaging="True" AllowSorting="True" SortExpressionValue="AUTOID" SortDirectionValue="DESC">
                    <Columns>
			            <asp:BoundField DataField="AUTOID" HeaderText="编号"  SortExpression="AUTOID" />
			            <asp:BoundField DataField="CASEID" HeaderText="工单编号"  SortExpression="CASEID" />
			            <asp:BoundField DataField="CUSTOMERID" HeaderText="客户编号"  SortExpression="CUSTOMERID" Visible="false" />
			            <asp:BoundField DataField="CUSTOMERCODE" HeaderText="客户代码"  SortExpression="CUSTOMERCODE"  Visible="false" />
			            <asp:BoundField DataField="CUSTOMERNAME" HeaderText="客户姓名"  SortExpression="CUSTOMERNAME" />
			            <asp:BoundField DataField="CREATETIME" HeaderText="创建时间"  SortExpression="CREATETIME" />
			            <asp:BoundField DataField="CREATEPEOPLEID" HeaderText="创建人编号"  SortExpression="CREATEPEOPLEID"  Visible="false" />
			            <asp:BoundField DataField="CREATEPEOPLE" HeaderText="创建人"  SortExpression="CREATEPEOPLE" />
			            <asp:BoundField DataField="FOLLOWUPTIME" HeaderText="跟进时间"  SortExpression="FOLLOWUPTIME"  Visible="false" />
			            <asp:BoundField DataField="FOLLOWUPCONTENT" HeaderText="跟进内容"  SortExpression="FOLLOWUPCONTENT" />
			            <asp:BoundField DataField="VISITREMARK" HeaderText="回访备注"  SortExpression="VISITREMARK" />
			            <asp:BoundField DataField="USERRECOMMENDED" HeaderText="用户建议"  SortExpression="USERRECOMMENDED"  Visible="false" />
			            <asp:BoundField DataField="ISINITIATIVECONTACT" HeaderText="经销商是否主动联系"  SortExpression="ISINITIATIVECONTACT"  Visible="false" />
			            <asp:BoundField DataField="ISUNDERSTANDVEHICLEINFO" HeaderText="是否对车辆基本信息了解"  SortExpression="ISUNDERSTANDVEHICLEINFO"  Visible="false" />
			            <asp:BoundField DataField="ISHASPURCHASE" HeaderText="是否已购机"  SortExpression="ISHASPURCHASE"  Visible="false" />
			            <asp:BoundField DataField="SOURCE" HeaderText="客户购车信息来源"  SortExpression="SOURCE"  Visible="false" />
			            <asp:BoundField DataField="CAUSEANALYSIS" HeaderText="（已购车或已决定购车、犹豫中、购买其它品牌）客户原因分析"  SortExpression="CAUSEANALYSIS"  Visible="false" />
			
                    </Columns>
                    <RowStyle CssClass="row" />
                    <AlternatingRowStyle CssClass="row2" />
                    <HeaderStyle CssClass="header" />
                    <PagerStyle CssClass="pager" />
                </dp:WebGridView>
            </div>
            <br />
        </div>
    </div>
    </div>
    </form>
</body>
</html>
